$OpenBSD: patch-kwalletd_CMakeLists_txt,v 1.2 2014/07/09 20:03:31 zhuk Exp $
Fix linking.
--- kwalletd/CMakeLists.txt.orig	Wed May  7 04:20:52 2014
+++ kwalletd/CMakeLists.txt	Sun May 18 20:51:50 2014
@@ -56,7 +56,7 @@ qt4_add_dbus_adaptor( kwalletd_KDEINIT_SRCS ${kwallet_
 
 kde4_add_kdeinit_executable( kwalletd NOGUI ${kwalletd_KDEINIT_SRCS} )
 
-target_link_libraries(kdeinit_kwalletd ${KDE4_KDEUI_LIBS} kwalletbackend )
+target_link_libraries(kdeinit_kwalletd kwalletbackend ${KDE4_KDEUI_LIBS} )
 if (GPGME_FOUND AND QGPGME_FOUND)
     target_link_libraries(kdeinit_kwalletd ${QGPGME_LIBRARIES} )
 endif(GPGME_FOUND AND QGPGME_FOUND)
@@ -73,4 +73,4 @@ install( FILES kwalletd.notifyrc DESTINATION  ${DATA_I
 install( FILES kwallet-4.13.upd DESTINATION ${DATA_INSTALL_DIR}/kconf_update)
 
 add_subdirectory(tests)
-add_subdirectory(autotests)
\ No newline at end of file
+add_subdirectory(autotests)
